﻿package entity;


/** 
 * 客户的交往记录
 */
public class cmcation
{
  /**
   * 交往记录编号
   */
  protected int cmid;
  /**
   * 时间
   */
  protected String cmdate;
  /**
   * 地点
   */
  protected String cmplace;
  /**
   * 概要
   */
  protected String cmprofile;
  /**
   * 详细信息
   */
  protected String cmdetailed;
  /**
   * 客户编号
   */
  protected int cid;

  public cmcation()
  {
  }

  
  public cmcation(int cmid, String cmdate, String cmplace, String cmprofile, String cmdetailed, int cid) {
	super();
	this.cmid = cmid;
	this.cmdate = cmdate;
	this.cmplace = cmplace;
	this.cmprofile = cmprofile;
	this.cmdetailed = cmdetailed;
	this.cid = cid;
}


/**
   * 获取交往记录编号
   */
  public int getCmid()
  {
    return cmid;
  }
  /**
   * 设置交往记录编号
   */
  public void setCmid(int value)
  {
    this.cmid = value;
  }
  /**
   * 获取时间
   */
  public String getCmdate()
  {
    return cmdate;
  }
  /**
   * 设置时间
   */
  public void setCmdate(String value)
  {
    this.cmdate = value;
  }
  /**
   * 获取地点
   */
  public String getCmplace()
  {
    return cmplace;
  }
  /**
   * 设置地点
   */
  public void setCmplace(String value)
  {
    this.cmplace = value;
  }
  /**
   * 获取概要
   */
  public String getCmprofile()
  {
    return cmprofile;
  }
  /**
   * 设置概要
   */
  public void setCmprofile(String value)
  {
    this.cmprofile = value;
  }
  /**
   * 获取详细信息
   */
  public String getCmdetailed()
  {
    return cmdetailed;
  }
  /**
   * 设置详细信息
   */
  public void setCmdetailed(String value)
  {
    this.cmdetailed = value;
  }
  /**
   * 获取客户编号
   */
  public int getCid()
  {
    return cid;
  }
  /**
   * 设置客户编号
   */
  public void setCid(int value)
  {
    this.cid = value;
  }


@Override
public String toString() {
	return "cmcation [cmid=" + cmid + ", cmdate=" + cmdate + ", cmplace=" + cmplace + ", cmprofile=" + cmprofile
			+ ", cmdetailed=" + cmdetailed + ", cid=" + cid + "]";
}


}

